package com.example.common

import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer

@BindingAdapter("gsy")
fun getVideo(video:StandardGSYVideoPlayer,gsy:String?) {
	video.setUp(gsy,true,"")
	video.startPlayLogic()
	video.startButton.setOnClickListener {
		video.startWindowFullscreen(video.context,true,true)
	}
}